export const type = {
  SWITCH_MENU: 'SWITCH_MENU'
}

export function addGun() {
  return {
    type: 'addGun'
  }
}

export function lessGun() {
  return {
    type: 'lessGun'
  }
}

export function addGunSync () {
  return dispath => {
    setTimeout(() => {
      dispath(addGun())
    }, 1000)
  }
}